package kr.hkit.powerjava.chapter07.submit;

import java.util.Scanner;

public class Programming05 {
	public static void main(String[] args) {
	
		String str;
		int i;
		
		Scanner input = new Scanner(System.in);
		System.out.println("문자를 입력하시오: ");
	
		str = input.next();
		i = str.length();
		
		for (i=str.length() ; i >0 ; i--) {
			System.out.print(str.charAt(i-1));
			
		}
	}
}
	

